<?= $c['menu']->out() ?>
<div class="content">
	<div class="options">
		<a href="<?= xa::url(array('action' => 'edit', 'model' => $c['table_name'])) ?>" class="button add"><?= xa::say('Dodaj') ?></a>
	</div>
	<?php
	if (!empty($alert_list)) {
		foreach ($alert_list as $row_id => $operation) {
			?>
			<div class="alert">
				<?= ($operation === 'insert' ? 'Dodano nowy rekord.' : 'Zapisano zmiany.').' Id: '.$row_id;?>
			</div>
			<?php
		}
	}
	?>
	<div class="column panel">
		<?= $c['listview']->out() ?>
	</div>
	<div class="clear"></div>
</div>
